package com.csjung.games.gamenori.client.ioc;

import com.google.gwt.place.shared.PlaceHistoryHandler;
import com.google.inject.Inject;
import com.google.inject.Provider;

import com.csjung.games.gamenori.client.activity.AppPlaceHistoryMapper;

public class PlaceHistoryHandlerProvider implements Provider<PlaceHistoryHandler> {
  private final AppPlaceHistoryMapper historyMapper;

  @Inject
  public PlaceHistoryHandlerProvider(AppPlaceHistoryMapper historyMapper) {
    this.historyMapper = historyMapper;
  }
  public PlaceHistoryHandler get() {
    return new PlaceHistoryHandler(historyMapper);
  }
}
